<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
  <head>
    <title>{% block page_title %}Sevenever{% endblock %}</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="content-style-type" content="text/css">
    <meta http-equiv="expires" content="0">
    <meta name="keywords" content="{% block meta_keywords %}sevenever programming Linux geek{% endblock %}">
    <meta name="description" content="{% block meta_description %}Here is sevenever's home site{% endblock %}">

    <link rel="shortcut icon" href="/favicon.ico">
    {% block link_css %}
    <link rel="stylesheet" rev="stylesheet" href="/css/main.css" type="text/css" media="all" />
    <script type="text/javascript" src="/css/main.js"></script>
    <link rel="stylesheet" type="text/css" href="/css/round_corner.css" />
    <script type="text/javascript" src="/js/round_corner.js"></script>
    {% block addition_link_css %}
    {% endblock %}
    {% endblock %}
    {% block link_js %}
    {% endblock %}
    {% block embededJs %}
    {% endblock %}
  </head>
  <body>

    <!-- Begin #content - Centers all content and provides edges for floated columns -->

    <div id="content">
      <div id="header">
	{% block header %}
	<div align="left" id="logoArea">
	  {% block logoArea %}
	  <span style="font-size: 72px; ">7</span><span style="font-size: 24px; ">ever</span>
	  {% endblock %}
	</div>
	<div id="welcome">
	  <h1>Welcome to www.sevenever.com</h1>
	  <span style="text-align:right;">Something about programming, Linux, geek...</span>
	</div>
	{% endblock header %}
      </div>
      <div height="5px">
	&nbsp;
      </div>
      <div id="googleSearchBar">
	{% block googleSearchBar %}
	<span>
	  <!-- SiteSearch Google -->
	  <form method="get" action="http://www.google.com/custom" target="google_window">
	    <table border="0" bgcolor="#ffebcd" align="center">
	      <tr><td nowrap="nowrap" valign="top" align="left" height="32">
		  <a href="http://www.google.com/">
		    <img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></img></a>
		</td>
		<td nowrap="nowrap">
		  <input type="hidden" name="domains" value="www.sevenever.com"></input>
		  <label for="sbi" style="display: none">输入您的搜索字词</label>
		  <input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></input>
		  <label for="sbb" style="display: none">提交搜索表单</label>
		  <input type="submit" name="sa" value="搜索" id="sbb"></input>
	      </td></tr>
	      <tr>
		<td>&nbsp;</td>
		<td nowrap="nowrap">
		  <table>
		    <tr>
		      <td>
			<input type="radio" name="sitesearch" value="" checked id="ss0"></input>
			<label for="ss0" title="搜索网络"><font size="-1" color="black">Web</font></label></td>
		      <td>
			<input type="radio" name="sitesearch" value="www.sevenever.com" id="ss1"></input>
			<label for="ss1" title="搜索 www.sevenever.com"><font size="-1" color="black">www.sevenever.com</font></label></td>
		    </tr>
		  </table>
		  <input type="hidden" name="client" value="pub-2760560610981931"></input>
		  <input type="hidden" name="forid" value="1"></input>
		  <input type="hidden" name="ie" value="UTF-8"></input>
		  <input type="hidden" name="oe" value="UTF-8"></input>
		  <input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;LH:32;LW:32;L:http://www.sevenever.com/icon/logo32.gif;S:http://www.sevenever.com;FORID:1"></input>
		  <input type="hidden" name="hl" value="zh-CN"></input>
	    </td></tr></table>
	  </form>
	  <!-- SiteSearch Google -->
	</span>
	{% endblock %}
      </div> <!-- googlesearchbar -->
      <div id="naviInfo">
        <div id="navipath" style="float:left">
	  {% block navipath %}
	  Home
	  {% endblock navipath %}
        </div>
        <div style="text-align:right;">
	  {% if user %}
	    <b>{{user.nickname}}</b>
	   <a href="{{logout_url}}">sign out</a>
	  {% else %}
	  welcome! 
	   <a href="{{login_url}}">sign in with a google account</a>
	  {% endif %}
	</div>
      </div>  <!-- naviInfo -->
      <div name="body" id="body">
	{% block body %}
	<div align="left" name="leftSideArea" id="leftSideArea">
	  {% block leftSideArea %}
	  <div name="naviarea" class="sideBox">
	    <div class="sideBoxTitle"><span class="sideBoxTitleText">Navigator</span></div>
	    <div class="sideBoxBody">
	      <a href="/">home</a><br/>
	      <a href="/glog" target="_blank">glog</a><br/>
	      <a href="/search/search.html">search</a><br/>
	      <a href="/software/software.html">software</a><br/>
	    </div>
	    <div class="sideBoxFoot"></div>
	  </div>
	  <div name="linkarea" class="sideBox">
	    <div class="sideBoxTitle"><span class="sideBoxTitleText">Links</span></div>
	    <div class="sideBoxBody">
	      <a href="http://sevenever.spaces.live.com" target="_blank">msn space</a><br/>
	      <a href="http://sevenever.blogspot.com/" target="_blank">blogger</a><br/>
	      <a href="http://picasaweb.google.com/sevenever/" target="_blank">picasa</a><br/>
	      <a href="http://groups.google.com/group/sevenever/topics" target="_blank">google group</a><br/>  
	    </div>
	    <div class="sideBoxFoot"></div>
	  </div>
	  <div id="sideBox">
	    <div class="sideBoxTitle"><span class="sideBoxTitleText">PGP</span></div>
	    <div class="sideBoxBody">
	      <a href="/file/PGP-Public-Key" target="_blank">My PGP Public key</a>  
	    </div>
	    <div class="sideBoxFoot"></div>     
	  </div>
	  {% block additionLeftSideArea %}
	  {% block leftWidgetArea %}
	  {% endblock leftWidgetArea %}
	  {% endblock additionLeftSideArea %}
	  {% endblock leftSideArea %}
	</div>
	<div name="rightSideArea" id="rightSideArea">
	  {% block rightSideArea %}
	  {% block rightSideAdArea %}
	  <div name="naviarea" class="sideBox">
	    <div class="sideBoxTitle"><span class="sideBoxTitleText">Advertise</span></div>
	    <div class="sideBoxBody">
	      <script type="text/javascript"><!--
						 google_ad_client = "pub-2760560610981931";
						 google_ad_width = 120;
						 google_ad_height = 240;
						 google_ad_format = "120x240_as_rimg";
						 google_cpa_choice = "CAAQjfSfnAIaCN-A6V2G1_PdKKG_93M";
						 google_ad_channel = "";
						 //--></script>
	      <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
	      </script>
	      <script type="text/javascript"><!--
						 google_ad_client = "pub-2760560610981931";
						 google_ad_width = 120;
						 google_ad_height = 60;
						 google_ad_format = "120x60_as_rimg";
						 google_cpa_choice = "CAAQyKmU_AEaCEgmBX1Smfx8KODy9IMB";
						 google_ad_channel = "";
						 //--></script>
	      <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
	      </script>
	    </div>
	    <div class="sideBoxFoot"></div>     
	  </div>
	  {% endblock rightSideAdArea %}
	  {% block additionRightSideArea %}
	  {% block rightWidgetArea %}
	  {% endblock rightWidgetArea %}
	  {% endblock additionRightSideArea %}
	  {% endblock rightSideArea%}
	</div>
	<div name="centerArea" id="centerArea">
	  {% block centerArea %}
	  {% endblock centerArea %}
	</div>
	{% endblock body %}
      </div> <!-- body -->
      <div name="footer" id="footer">
	{% block footer %}
	<div style="float:left">
	  <a href="http://appengine.google.com">
	  <img src="http://code.google.com/appengine/images/appengine-silver-120x30.gif" alt="Powered by Google App Engine" />
	  </a>
	</div>
	<div>
	  sevenever@gmail.com<br/>
	  Copyright &copy; 2007. All rights reserved.
	</div>
	{% endblock footer %}
      </div>
    </div>
  </body>
</html>

